package com.platform.api.bzproject.dao;

import com.platform.api.bzproject.model.WithdrawalDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 提现表 Mapper 接口
 * </p>
 *
 * @author guoshao
 * @since 2022-01-02
 */
public interface WithdrawalDetailsMapper extends BaseMapper<WithdrawalDetails> {

    BigDecimal selectSumMoney(@Param("userId") String userId);

    List<WithdrawalDetails> selectWithdrawalDetails(WithdrawalDetails withdrawalDetails);

}
